<template>
  <div>
    <van-radio-group @change="radios" v-model="radio">
      <van-cell-group>
        <van-cell title="重组新冠肺炎疫苗(CHO)" clickable @click="radio = '重组新冠肺炎疫苗(CHO)' " >
          <template #right-icon>
            <van-radio name="重组新冠肺炎疫苗(CHO)" />
          </template>
        </van-cell>
        <van-cell title="二价HPV疫苗(国产)" clickable @click="radio = '二价HPV疫苗(国产)'">
          <template #right-icon>
            <van-radio name="二价HPV疫苗(国产)" />
          </template>
        </van-cell>
         <van-cell title="九价HPV疫苗(进口)" clickable @click="radio = '九价HPV疫苗(进口)'">
          <template #right-icon>
            <van-radio name="九价HPV疫苗(进口)" />
          </template>
        </van-cell>
         <van-cell title="20ug乙肝疫苗(CHO)" clickable @click="radio = '20ug乙肝疫苗(CHO)'">
          <template #right-icon>
            <van-radio name="20ug乙肝疫苗(CHO)" />
          </template>
        </van-cell>
         <van-cell title="10ug乙肝疫苗" clickable @click="radio = '10ug乙肝疫苗'">
          <template #right-icon>
            <van-radio name="10ug乙肝疫苗" />
          </template>
        </van-cell>
        <van-cell title="四价流感病毒裂解疫苗" clickable @click="radio = '四价流感病毒裂解疫苗'">
          <template #right-icon>
            <van-radio name="四价流感病毒裂解疫苗" />
          </template>
        </van-cell>
      </van-cell-group>
    </van-radio-group>
  </div>
</template>



<script>
export default {
  data() {
    return {
      radio:"",
      // arrym:[]
    }
  },
  methods: {
    radios(){
      if(this.radio!==''){
        let ym = this.$store.state.arrym
        ym.push(this.radio)
        // console.log(ym);
      }
    }
  },
}
</script>



<style scoped>


</style>
